using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;

namespace Common.ServiceResponse.ValueObjects.Facebook
{
    [DataContract]
    public class Photo
    {
        [DataMember]
        [JsonProperty(PropertyName = "id")]
        public string PhotoId { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "from")]
        public BriefObjectDescription FromObjectDescription { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "picture")]
        public string Picture { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "source")]
        public string PictureSource { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "height")]
        public string PictureHeight { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "width")]
        public string PictureWidth { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "images")]
        private List<Image> Images { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "link")]
        public string Link { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "icon")]
        public string Icon { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "created_time")]
        public string CreatedTime { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "position")]
        public string Position { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "updated_time")]
        public string UpdatedTime { get; set; }
    }
}
